/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package helpdiabetesj2me;

import java.util.TimerTask;

/**
 *
 * @author Johan
 */
public class ExitTimer extends TimerTask {
    
    MyCanvas mycanvas;
    
    /** Creates a new instance of ExitTimer */
    public ExitTimer(MyCanvas mycanvas) {
        this.mycanvas = mycanvas;
    }

    public void run() {
        HelpDiabetes.midlet.exitMIDlet();
    }
    
}
